body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

:root{
  height: 100%;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

#root{
  height: 100%;
}

/* 全局滚动条样式处理 */
div::-webkit-scrollbar, .main-layout::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}

div::-webkit-scrollbar-track, .main-layout::-webkit-scrollbar-track {
  background: rgb(239, 239, 239);
  border-radius: 2px;
}

div::-webkit-scrollbar-thumb, .main-layout::-webkit-scrollbar-thumb {
  background-color: rgba(18, 124, 199, 0.5);
  border-radius: 10px;
}

div::-webkit-scrollbar-thumb:hover, .main-layout::-webkit-scrollbar-thumb:hover {
  background: rgba(18, 124, 199, 1);
}

div::-webkit-scrollbar-corner, .main-layout::-webkit-scrollbar-corner {
  background: rgba(18, 124, 199, 1);
}